package com.yonyougov.devops.cruxcisupport.committest.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigInteger;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "提测/重新提测")
public class CommitOrReCommitRequestDto extends BaseRequestDto {
    @ApiModelProperty(value = "提测Id")
    private BigInteger id;

    @ApiModelProperty(value = "环境Id")
    private BigInteger envId;

    @ApiModelProperty(value = "提测内容")
    private String testContent;

    @ApiModelProperty(value = "测试类型")
    private int testType;

    @ApiModelProperty(value = "提测备注")
    private String remark;

    @ApiModelProperty(value = "提测人Id")
    private BigInteger submitUserId;

    @ApiModelProperty(value = "测试主管Id")
    private BigInteger testLead;

    @ApiModelProperty(value = "需求分析人Id")
    private BigInteger productManager;

    @ApiModelProperty(value = "附件路径")
    private List<String> attachmentUrls;

    @ApiModelProperty(value = "提测内容ids")
    private List<CommitContextDto> commitContext;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "bugId")
    private String bugId;

    @ApiModelProperty(value = "bug描述")
    private String bugDesc;

    @ApiModelProperty(value = "功能描述")
    private String funDesc;

    @ApiModelProperty(value = "优先级")
    private Integer priority;
}
